import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Login from '@/pages/Login'
import DashBoard from '@/pages/DashBoard'

Vue.use(Router)

export default new Router({
      mode: 'history',
    routes: [
        {
            path: '/',
            name: 'Hello',
            component: HelloWorld
        },
        {
            path: '/dashboard',
            name: 'Hello',
            component: DashBoard
        },
        {
            path: '/login',
            name: 'login',
            component: Login
        }
    ]
})
